package qunar.tc.bistoury.attach.arthas.debug;


public class DebugAddResultInfo {
    /**
     * 添加断点成功后返回的断点id，用于后续查询断点结果
     */
    private String breakPointId;

    /**
     * 添加断点的代码行号，这个代码行号是类的真实行号而不是debug页面展示的行号
     */
    private int line;

    public DebugAddResultInfo(String breakPointId, int line) {
        this.breakPointId = breakPointId;
        this.line = line;
    }

    public String getBreakPointId() {
        return breakPointId;
    }

    public void setBreakPointId(String breakPointId) {
        this.breakPointId = breakPointId;
    }

    public int getLine() {
        return line;
    }

    public void setLine(int line) {
        this.line = line;
    }

    @Override
    public String toString() {
        return "DebugAddResultInfo{" +
                "breakPointId='" + breakPointId + '\'' +
                ", line=" + line +
                '}';
    }
}
